<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<script type="text/javascript">
window.onload = myBrowser;
function myBrowser(){
	var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
	var isOpera = userAgent.indexOf("Opera") > -1;
	if (userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1 && !isOpera){
		alert("IE")
		return "IE";
	} else{
		alert("unknow")
	}; //判断是否IE浏览器
}
</script>
<body>
<!-- 
	模拟修改
	
 -->
<form action="springMvc/testModelAttribute" meth="post">
	<input type="hidden" name="id" value="1">
	<input type="text" name="name" value="lr">
	<input type="text" name="age" value="10">
	<input type="submit" value="提交">
</form>
<br>
<a href="springMvc/testSessionAttributes">testSessionAttributes</a>
<br>
<a href="springMvc/testMap">testMap</a>
<br>
<a href="springMvc/testModelAndView">testModelAndView</a>
<br>
<a href="springMvc/testServletApi">testServletApi</a>
<br>
<form action="springMvc/testPojo" method="post">
	name :<input type="text" name="name">
	age  : <input type="text" name="age">
	province : <input type="text" name="addr.province">
	city : <input type="text" name="addr.city">
	<input type="submit"  value="testPojo">
</form>
<br>
<a href="springMvc/testCookieValue">testCookieValue</a>
<br>
<a href="springMvc/testRespringMvctHeader">testRespringMvctHeader</a>
<br>
<a href="springMvc/testRespringMvctParam?name=aaa">testRespringMvctParam</a>
<br>
<form action="springMvc/testRest/1" method="post">
	<input type="hidden" name="_method" value="PUT">
	<input type="submit" value="PUTRest">
</form>
<br>
<form action="springMvc/testRest/1" method="post">
	<input type="hidden" name="_method" value="DELETE">
	<input type="submit" value="DELETERest">
</form>
<br>
<form action="springMvc/testRest" method="post">
	<input type="submit" value="PostRest">
</form>
<br>
<a href="springMvc/testRest/1">testRestGet</a>
<br>
<a href="springMvc/testPathVariable/1/lr">testPathVariable</a>
<br>
<a href="springMvc/testAntPath/123/234/333/4444/5555/ant">testAntPath/**</a>
<br>
<a href="springMvc/testAntPath/123/ant">testAntPath/*</a>
<br>
<a href="springMvc/testParamAndHeaders?name=1&age=9">testParamsAndHeaders</a>
<br>
<a href="helloWorld">helloWord</a>
<br>
<a href="springMvc/springMvcTest">test </a>
<br>
<a href="springMvc/testMethod">test method</a>
<br>
<form action="springMvc/testMethod" method="post">
<input type="submit" value="确定">
</form>
</body>
</html>